package com.reefe.service;

import com.reefe.pojo.TbContent;

import java.util.Map;

public interface ContentService {

    /**
     * 根据ID查询栏目
     * @param cid
     * @return
     */
    Map<String,Object> getContentListByCid(Long cid);

    int deleteContent(Long id);

    int addContent(TbContent tbContent);

    int updateContent(TbContent tbContent);

    TbContent getContentById(Long id);
}
